<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m-t" id="signupForm">
#foreach( $field in $fieldList )
#if(${field.showType}=="date")
		<div class="form-group">
			<label class="col-sm-2 control-label">${field.comment}：</label>
			<div class="form-control-static" th:text="${#dates.format(${model.modelL}.${field.field},'yyyy-MM-dd')}">
			</div>
		</div>
#elseif(${field.showType}=="datetime")
		<div class="form-group">
			<label class="col-sm-2 control-label">${field.comment}：</label>
			<div class="form-control-static" th:text="${#dates.format(${model.modelL}.${field.field},'yyyy-MM-dd HH:mm:ss')}">
			</div>
		</div>
#elseif(${field.showType}=="radio")
#if(${field.inputValue} == "")
		<div class="form-group">
			<label class="col-sm-2 control-label">${field.comment}：</label>
			<div class="form-control-static" th:class="${${model.modelL}.${field.field} == 0 ? 'label label-primary' : 'label label-danger'}" th:text="${${model.modelL}.${field.field} == 0 ? '正常' : '禁用'}">
			</div>
		</div>
#else
		<div class="form-group">
			<label class="col-sm-2 control-label">${field.comment}：</label>
			<div class="form-control-static" th:text='${@dict.getDictData("${field.inputValue}",${model.modelL}.${field.field})}'>
			</div>
		</div>
#end
#elseif(${field.showType}=="htmleditor")
		<div class="form-group">
			<label class="col-sm-2 control-label">${field.comment}：</label>
			<div class="form-control-static" th:utext="${${model.modelL}.${field.field}}">
			</div>
		</div>
#elseif(${field.showType}=="file")
		<div class="form-group">
			<label class="col-sm-2 control-label">${field.comment}：</label>
			<img th:src="(${${model.modelL}.${field.field}} == '') ? '/img/profile.jpg' : '/profile/' + ${${model.modelL}.${field.field}}" alt="image" class="img-circle" height="60" width="60"/>
		</div>
#elseif(${field.showType}=="select")
#if(${field.inputValueTwo} == "")
         <div class="form-group">	
		    <label class="col-sm-2 control-label">${field.comment}：</label>
		    <div class="form-control-static" th:text='${@dict.getDictData("${field.inputValue}",${model.modelL}.${field.field})}'>
			</div>
			 
		</div>
#else
		<div class="form-group">
			<label class="col-sm-2 control-label">${field.comment}：</label>
			<div class="form-control-static" th:text="${${model.modelL}.${field.inputValueOneL}.${field.inputValueTwoL}}">
			</div>
		</div>
#end
#elseif(${field.showType}=="show")
		<div class="form-group">
			<label class="col-sm-2 control-label">${field.comment}：</label>
			<div class="form-control-static" th:text="${${model.modelL}.${field.field}}">
			</div>
		</div>
#end
#end		 
		<div class="form-group">
			<div class="form-control-static col-sm-offset-9">
				<button th:onclick="'javascript:layer_close()'" class="btn btn-danger" type="button">关闭</button>
			</div>
		</div>
	</form>
    </div>
    <div th:include="include :: footer"></div>
</body>
</html>